﻿using BonjourQuotation.ObjectModel.ErrorData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BonjourQuotation.ObjectModel.BusinessData
{
    public class OperationTechProgGridBData
    {
        public List<OperationTechProgGridRowBData> Rows { get; set; }
        public List<OperationTechProgGridSaveRowBData> SaveRows { get; set; }
        public List<string> FilterTechProgType { get; set; }
        public string GroupCode { get; set; }
        public DateTime? TechUpdateDate { get; set; }
        public bool? TechUpdated { get; set; }
        public int GroupID { get; set; }
        //public Dictionary<int, string> TechProgTypes { get; set; }
        public Dictionary<int, string> TechProgDetails { get; set; }
        public DateTime GroupArrivalDate { get; set; }
        public ErrorBInfo Error { get; set; }
    }
    public class OperationTechProgGridRowBData
    {
        public string Vendor { get; set; }
        public string VendorAddress { get; set; }
        public string VendorEmail { get; set; }
        public int? VendorID { get; set; }
        public int GroupID { get; set; }
        public string Guide { get; set; }
        public string GuidePhone { get; set; }
        public string City { get; set; }
        public string Area { get; set; }
        public string Type { get; set; }
        public int? GuideID { get; set; }
        public int? TechProgTypeID { get; set; }
        public string Detail { get; set; }
        public string Employee { get; set; }
        public int DetailID { get; set; }
        public DateTime Date { get; set; }
        public TimeSpan Time { get; set; }
        public string Desc { get; set; }
        public string Via { get; set; }
        public bool? PrnFlag { get; set; }
    }
    public class OperationTechProgGridSaveRowBData
    {
        public int GroupID { get; set; }
        public int DetailID { get; set; }
        public DateTime Date { get; set; }
        public TimeSpan Time { get; set; }
        public TimeSpan OldTime { get; set; }
        public string Desc { get; set; }
        public string Via { get; set; }
        public bool? PrnFlag { get; set; }
    }
    
}
